package com.upcode.weighing.config;

/**
 * @program: nsop
 * @description: 微信本地配置文件
 * @author: miaosy
 * @create: 2018-06-07 13:11
 */
public class WxPayConfigLocal {

    /**
     * 设置微信公众号的appid
     */
    private String appId;

    /**
     * 小程序ID
     */
    private String miniAppId;
    /**
     * 小程序Secret
     */
    private String miniSecret;
    /**
     * 微信支付商户号
     */
    private String mchId;

    /**
     * 微信支付商户密钥
     */
    private String mchKey;

    /**
     * 服务商模式下的子商户公众账号ID，普通模式请不要配置，请在配置文件中将对应项删除
     */
    private String subAppId;

    /**
     * 服务商模式下的子商户号，普通模式请不要配置，最好是请在配置文件中将对应项删除
     */
    private String subMchId;

    /**
     * apiclient_cert.p12文件的绝对路径，或者如果放在项目中，请以classpath:开头指定
     */
    private String keyPath;



    /**
     * 通知回调地址
     */
    private String notifyUrl;

    /**
     * 免密支付的回调地址
     */
    private String secretFreePayNotifyUrl;

    /**
     * 签约协议号
     */
    private String contractCode;

    /**
     * 签约类型
     */
    private String signType;

    public String getSignType() {
        return signType;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }

    /**
     * 模板id
     */
    private String planId;

    public String getAppId() {
        return this.appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public String getMchKey() {
        return mchKey;
    }

    public void setMchKey(String mchKey) {
        this.mchKey = mchKey;
    }

    public String getSubAppId() {
        return subAppId;
    }

    public void setSubAppId(String subAppId) {
        this.subAppId = subAppId;
    }

    public String getSubMchId() {
        return subMchId;
    }

    public void setSubMchId(String subMchId) {
        this.subMchId = subMchId;
    }

    public String getKeyPath() {
        return this.keyPath;
    }

    public void setKeyPath(String keyPath) {
        this.keyPath = keyPath;
    }


    public String getMiniAppId() {
        return miniAppId;
    }

    public void setMiniAppId(String miniAppId) {
        this.miniAppId = miniAppId;
    }

    public String getMiniSecret() {
        return miniSecret;
    }

    public void setMiniSecret(String miniSecret) {
        this.miniSecret = miniSecret;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public String getSecretFreePayNotifyUrl() {
        return secretFreePayNotifyUrl;
    }

    public void setSecretFreePayNotifyUrl(String secretFreePayNotifyUrl) {
        this.secretFreePayNotifyUrl = secretFreePayNotifyUrl;
    }

    public String getContractCode() {
        return contractCode;
    }

    public void setContractCode(String contractCode) {
        this.contractCode = contractCode;
    }

    public String getPlanId() {
        return planId;
    }

    public void setPlanId(String planId) {
        this.planId = planId;
    }

    @Override
    public String toString() {
        return "WxPayConfigLocal{" +
                "appId='" + appId + '\'' +
                ", miniAppId='" + miniAppId + '\'' +
                ", miniSecret='" + miniSecret + '\'' +
                ", mchId='" + mchId + '\'' +
                ", mchKey='" + mchKey + '\'' +
                ", subAppId='" + subAppId + '\'' +
                ", subMchId='" + subMchId + '\'' +
                ", keyPath='" + keyPath + '\'' +
                ", notifyUrl='" + notifyUrl + '\'' +
                ", secretFreePayNotifyUrl='" + secretFreePayNotifyUrl + '\'' +
                ", contractCode='" + contractCode + '\'' +
                ", signType='" + signType + '\'' +
                ", planId='" + planId + '\'' +
                '}';
    }
}
